home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 April
/
CHIP 1996 aprilis (CD06).zip
/
CHIP_CD06.ISO
/
sac
/
avir
/
vnpc.exe
/
HDVIRUS.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-05-11
|
2KB
|
39 lines
rem This Netware example sends a network console message, displays a user
rem message, logs the workstation off the network and then freezes the
rem system. It can be run when the LANSD Task Scheduler detects a
rem VirusNet/Pro Errorlevel of 3 (file/boot virus).
rem Since hard disk scans are usually performed only once per day, in the
rem Task Scheduler DOS Return Code for this choice (Edit | Options button),
rem do not mark the event as completed. Then, the next time the workstation
rem logs into the network, the daily hard disk scan event will take place
rem again, even on the same day. The workstation will be repeatedly logged
ren off of the network until its hard disk is free from viruses.
rem Please consult your LANSD documentation for information on implementing
rem Errorlevel detection, and the VirusNet/Pro manual to implement
rem virus scanning.
rem Substitute the appropriate SEND and LOGOUT commands for your network.
rem A LANSD directory is made under the F:\LOGIN directory since the
rem directory will still be accessible after the user is logged out of
rem the network. Copy your network's SEND and LOGOUT programs, the LANSD
rem LOCKUP program, and this HDVIRUS batch file to the f:\login\lansd
rem directory. Grant Read and Execute privileges in this directory.
rem Do not grant Write or Modify privileges to these files since they will
rem be run on virus-infected workstations!
@echo off
f:\login\lansd\send "Workstation hard disk virus!" console
echo ┌────────────────────────────────────────────────────────┐
echo │ Virus infection found on workstation hard disk! │█
echo │ │█
echo │ Logging workstation off of network! │█
echo │ │█
echo │ Please contact John immediately at Ext. 123 for help. │█
echo └────────────────────────────────────────────────────────┘█
echo ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
f:\login\lansd\logout
f:\login\lansd\lockup